package com.example.test1024;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import org.w3c.dom.Text;

public class ShowActivity extends AppCompatActivity {
    private TextView textshow ;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_show);
        initView();

    }
    private void initView() {
        textshow=findViewById(R.id.textshow) ;
        //
        Intent intent=getIntent() ;
        String usn=intent.getStringExtra( "usn");
        String  psd =intent.getStringExtra("psd");
        textshow.setText("你的账号为："+usn+"你的密码为："+psd);


    }
}